<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/9/13  14:26
 */
namespace app\api\controller;

class Test extends Base
{
    //检查权限作用域
    protected $beforeActionList = [
        'checkPrimaryScope' => [
            'only' =>[]
        ],
    ];

    public function index()
    {
        $index =  (new \app\api\logic\Test())->index();
        return $this->ajaxReturn($index);

    }

    public function accountImport()
    {
        $accountImport =  (new \app\api\logic\Test())->accountImport();
        return $this->ajaxReturn($accountImport);

    }

    //批量导入im用户
    public function updateAccountIm()
    {
        $updateAccountIm =  (new \app\api\logic\Test())->updateAccountIm();
        return $this->ajaxReturn($updateAccountIm);

    }
}